type TbOssConfig = {
  ocid: number
  uid: number
  accessKeyId: string
  accessKeySecret: string
  description: string
  lastupdate: number
}
type TbOssBucket = {
  obid: number
  ocid: number
  endpoint: string
  bucketName: string
  domains: string
  info: string
  expiration: number
  cachetime: number
  lastupdate: number
}

type TbOssInfo = {
  oiid: number
  obid: number
  objectName: string
  filename: string
  contentType: string
  filesize: number
  fileinfo: string
  lastupdate: number
}

type OssEndPoint = {
  region: string
  regionId: string
  endpoint: string
  internalEndpoint: string
}

type OssSignInfo = {
  accessid: string
  policyBase64: string
  signature: string
  dir: string
  host: string
  expire: string
  objectName: string
}

export type { TbOssConfig, TbOssBucket, TbOssInfo, OssSignInfo, OssEndPoint }
